<template>
    <div class="div">
        <slot>
            <h4>默认</h4>
        </slot>
    </div>
</template>
<style lang="scss">
.div{
    position: fixed;
    width: 100vw;
    height: 5vh;
    background-color: #076FA2;
    color: white;
    text-align: center;
img{
    margin-right: 100%;
    width: 13px;
    height: 20px;
    padding-top: 14px;
    margin-left: 2%;
}
h4{
    line-height: 5vh;
    font-size: 18px;
    font-weight: 500;
}
div{
    margin-right: -350px;
    margin-top: -20px;
    a{
        display: inline-block;
        color: white;
        font-weight: 500;
        font-size: 16px;
    }
}
}
</style>